#include <stdio.h>
void menu ()
{
    printf("******************\n");
    printf("*****1.play*******\n");
    printf("*****0.exit*******\n");
    printf("******************\n");
    printf("******************\n");
}
void game ()
{
    char mine[ROWS][COLS] = {0};//存放布置好的雷
    char shou[ROWS][COLS] = {0};//存放排查雷的信息
}
int main()
{
    int input = 0;
    
    do
    {
        menu ();
        printf("请选择：\n");
        scanf("%d", &input);
        switch (input)
        {
            case 1:
                game ();
                break;
            case 0:
                printf("离开游戏\n");
                break;
        
            default:
                printf("输入错误，请重新输入：\n");
            
        }

      
    } while (input);
    
    return 0;
}